<div class="bg_greenyellow round_10 fifth shadow_in_0">
    <ul class="rightmenu">
        <? if(!empty($this->auction)) {?>
        <li><a href="<?php echo $this->url(array('controller' => 'auctions', 'action' => 'details','id'=>$this->auction), null, true) ?>" >Powrót</a></li>
        <? } else { ?>
        <li><a href="<?php echo $this->url(array('controller' => 'auctions', 'action' => 'browse'), null, true) ?>" >Powrót</a></li>
        <? } ?>
    </ul>      
</div>    

<div class="fourfifth vpad_10 last fixed">
     <h6 class ="round_5 shadow_out_4 bg_mediumblue">Szczegóły towaru</h6>
     <br />
     <table class="datalist" width="100%">
       <caption>
           Szczegóły towaru #ID <?php echo $this->commodity['id']; ?>
       </caption>
       <thead>
             <th colspan="2">Szczegóły towaru</th>
       </thead>
       <tfoot>
          <tr>
             <th colspan="2">&nbsp;</th>
          </tr>
       </tfoot>
       <tbody>
          <tr>
              <td style="width:25" ><strong>#ID</strong></td>
             <td style="width:25" ><?php echo $this->commodity['id']; ?></td>
          </tr>
          <tr>
             <td><strong>Nazwa</strong></td>
             <td><?php echo $this->commodity['name']; ?></td>
          </tr>
          <tr>
             <td><strong>Typ</strong></td>
             <td><?php echo $this->commodity['type']; ?></td>
          </tr>
          <tr>
             <td><strong>Kategoria</strong></td>
             <td><?php echo $this->commodity['cat']; ?></td>
          </tr>
          <tr>
             <td colspan="2"><strong>Miejsce odbioru</strong></td>

          </tr>
          <tr>
             <td><strong><?php echo $this->commodity['nType']; ?></strong></td>
             <td><?php echo $this->commodity['nPlace']; ?></td>
          </tr>
          </tr>
          <tr>
             <td colspan="2"><strong>Czas dostawy</strong></td>
          </tr>
          <tr>
             <td><strong>Od</strong></td>
             <td><?php echo $this->DateToString($this->commodity['startTime']); ?></td>
          </tr>
          <tr>
             <td><strong>Do</strong></td>
             <td><?php echo $this->DateToString($this->commodity['endTime']); ?></td>
          </tr>
          <tr>
             <td colspan="2"><strong>Opis</strong></td>
          </tr> 
          <tr>       
             <td colspan="2"><?php echo $this->commodity['description']; ?></td>
          </tr> 
       </tbody>
    </table>
</div>